import Axios from "axios";
import qs from "qs";
export default new class LoginApi {

    login(param){
        let url = "/chen/api/login";
        return Axios.post(url, qs.stringify(param));
    }

    register(param){
        let url = "/chen/api/register";
        return Axios.post(url, qs.stringify(param));
    }

}